# 按相反的顺序输出列表的值。

l = ["a","b","c"]

# 方法一
for i in l[::-1]:
    print(i)


# 方法二
print()
l.reverse()
for i in l:
    print(i)


